#ifndef _SERVER_
#define	_SERVER_

#include <stdio.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <string.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/select.h>
#include <sys/epoll.h>
#include <errno.h>
#include <pthread.h>
#include <dirent.h>
#include <sys/stat.h>
#include <fcntl.h>

struct Client
{
	int num;
	int csock;
	char name[30];
	char ip[30];
	int port;
	struct Client *next;
};
typedef struct Client client;

int CreateTcpServer(int sin_port);
void *down_upload_server(void *arg);
void *down_upload_file(void *arg);

#endif